home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
shore_siege.swf
/
scripts
/
DefineSprite_456
/
frame_1
/
PlaceObject2_418_69
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-08-19
|
529b
|
32 lines
onClipEvent(enterFrame){
this._x = _root._xmouse;
this._y = Math.round(_root._ymouse / 20) * 20;
if(_X < 265)
{
_X = 265;
_visible = false;
}
if(_Y > 320)
{
_Y = 320;
}
else if(_Y < 260)
{
_Y = 260;
}
if(_root._ymouse > 330 || _root._ymouse < 200)
{
_visible = false;
this._y = -200;
armed = false;
}
else
{
armed = true;
if(_root._xmouse >= 265)
{
_visible = true;
}
}
}